﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using DomainDriver.DomainModeling.GenericUnitTesting;
using AutomotivePricingModel.Countries;

namespace AutomotivePricingModel.UnitTests.DomainObjects
{
    [TestFixture]
    public class CountryTests : DomainObjectTestFixture<Guid, Country>
    {
        protected override Country CreateUniqueDomainObject()
        {
            return new Country();
        }

        protected override ICollection<DomainObjectModifier<Guid, Country>> GetDomainObjectModifiers()
        {
            List<DomainObjectModifier<Guid, Country>> modifiers = new List<DomainObjectModifier<Guid, Country>>();
            modifiers.Add((Country domainObject) => domainObject.Name += m_StringUpdateValue);
            modifiers.Add((Country domainObject) => domainObject.Name = null);
            return modifiers;
        }

        [Test]
        public override void VerifyDomainObjectFunctionality()
        {
            base.VerifyDomainObjectFunctionality();
        }
    }
}